<?php
/**
 * 用户列表字段说明
 * Created by PhpStorm.
 * User: LRChang
 * Date: 2018/6/12
 * Time: 10:18
 * Mail: hjklrchang@qq.com
 */

namespace app\adminapi\filter;

use app\base\filter\Common;

class UserFilter extends Common{
    public $field = [
        'user_id'=>'||int|1',
        'area_id'=>'||int|1',
        'role_id'=>'角色（多个）||string|1',
        'mobile'=>'登录用手机号||string|1',
        'username'=>'||string|1',
//        'password'=>'密码||string|',
//        'withdraw_pwd'=>'||string|',
//        'is_set_pwd'=>'||string|1',
//        'salt'=>'密码盐||string|',
//        'delete_time'=>'||int|',
        'state'=>'状态 1:可用 9:禁用||int|1',
        'company_id' => '所属单位||int|1',
    ];

    public $other = [
        'roles' => '所属角色||array|1',
    ];
}